package com.rop.znyx.sys;

import com.rop.znyx.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created with IntelliJ IDEA
 * User: Rop
 * Date: 2023/7/19
 * Time: 10:04
 * Description: sys服务远程调用
 */
@FeignClient(value = "service-sys")
public interface RegionFeignClient {

    @GetMapping("api/sys/inner/getWareId/{regionId}")
    Result<Long> getWareId(@PathVariable("regionId") Long regionId);
}
